﻿using System.Windows;
using System.Windows.Controls;

namespace Gmantis.Controls.Chart
{
    public class AnnoCreatedEventArgs : CancelEventArgs
    {
        // Methods
        internal AnnoCreatedEventArgs(Canvas canvas, UIElement label, int index, double value)
        {
            this.Canvas = canvas;
            this.Label = label;
            this.Index = index;
            this.Value = value;
        }

        // Properties
        public Canvas Canvas { get; internal set; }

        public int Index { get; internal set; }

        public UIElement Label { get; set; }

        public double Value { get; internal set; }
    }
}
